package com.zld.smarket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class StockinList {
    private Long id;

    private Long stockinNo;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date stockinDate;

    private Long goodsNo;

    private String goodsName;

    private Long stockinNum;

    private String goodsUnit;

    private Long supplierId;

    private String supplierName;

    private Long storehouseNo;

    private String storehouseName;



    public Long getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(Long goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Date getStockinDate() {
        return stockinDate;
    }

    public void setStockinDate(Date stockinDate) {
        this.stockinDate = stockinDate;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getStorehouseNo() {
        return storehouseNo;
    }

    public void setStorehouseNo(Long storehouseNo) {
        this.storehouseNo = storehouseNo;
    }


    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getStorehouseName() {
        return storehouseName;
    }

    public void setStorehouseName(String storehouseName) {
        this.storehouseName = storehouseName == null ? null : storehouseName.trim();
    }
    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit == null ? null : goodsUnit.trim();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStockinNo() {
        return stockinNo;
    }

    public void setStockinNo(Long stockinNo) {
        this.stockinNo = stockinNo;
    }

    public Long getStockinNum() {
        return stockinNum;
    }

    public void setStockinNum(Long stockinNum) {
        this.stockinNum = stockinNum;
    }
}
